const express = require('express');
const router = express.Router();
//引入首页路由文件
const home = require('./routes/home')
//首页
router.get('/',home.index);
//登陆
const login = require('./routes/login')
router.get('/login',login.index);
//注册
const reg = require('./routes/reg')
router.get('/reg',reg.index);
//发现页面
const discover = require('./routes/discover')
router.get('/discover',discover.index);
//话题
const huati = require('./routes/huati')
router.get('/huati',huati.index);
module.exports = router;
